
#ifndef SEARCHCLASS_H
#define SEARCHCLASS_H

#pragma once
/////////////////////////////////////////////////////////////////////////////
// CSearchClass dialog
#include "..\Base\SearchGroupBase.h"
class CSearchClass : public CSearchGroupBase
{
// Construction
public:
	CSearchClass(CWnd* pParent = NULL);   // standard constructor

protected:
	//{{AFX_DATA(CSearchClass)
	enum { IDD = IDD_SEARCH_CLASS };
	CComboBox		m_class;
	CString	m_deptname;
	int m_enyear;
	//}}AFX_DATA
protected:
	bool checkInputData( );
    int m_addRess;
    void SetDept(int TypeId);
    int GetDepart( );

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSearchClass)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CSearchClass)
	afx_msg void OnChangeEditClassid();
	afx_msg void OnChangeEditClassname();
	afx_msg void OnSearchAccur();
	afx_msg void OnSearchSuper();
	virtual BOOL OnInitDialog();
	afx_msg void OnChangeEnyear();
	afx_msg void OnSelchangeComboClass();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif // SEARCHCLASS_H
